!function(C,d,i,n){var t=function(t){var a=this;a.$form=t,a.$attributeFields=t.find(".variations select"),a.$singleVariation=t.find(".single_variation"),a.$singleVariationWrap=t.find(".single_variation_wrap"),a.$resetVariations=t.find(".reset_variations"),a.$product=t.closest(".product"),a.variationData=t.data("product_variations"),a.useAjax=!1===a.variationData,a.xhr=!1,a.loading=!0,a.$singleVariationWrap.show(),a.$form.off(".wc-variation-form"),a.getChosenAttributes=a.getChosenAttributes.bind(a),a.findMatchingVariations=a.findMatchingVariations.bind(a),a.isMatch=a.isMatch.bind(a),a.toggleResetLink=a.toggleResetLink.bind(a),t.on("click.wc-variation-form",".reset_variations",{variationForm:a},a.onReset),t.on("reload_product_variations",{variationForm:a},a.onReload),t.on("hide_variation",{variationForm:a},a.onHide),t.on("show_variation",{variationForm:a},a.onShow),t.on("click",".single_add_to_cart_button",{variationForm:a},a.onAddToCart),t.on("reset_data",{variationForm:a},a.onResetDisplayedVariation),t.on("reset_image",{variationForm:a},a.onResetImage),t.on("change.wc-variation-form",".variations select",{variationForm:a},a.onChange),t.on("found_variation.wc-variation-form",{variationForm:a},a.onFoundVariation),t.on("check_variations.wc-variation-form",{variationForm:a},a.onFindVariation),t.on("update_variation_values.wc-variation-form",{variationForm:a},a.onUpdateAttributes),setTimeout(function(){t.trigger("check_variations"),t.trigger("wc_variation_form",a),a.loading=!1},100)};t.prototype.onReset=function(t){t.preventDefault(),t.data.variationForm.$attributeFields.val("").change(),t.data.variationForm.$form.trigger("reset_data")},t.prototype.onReload=function(t){var a=t.data.variationForm;a.variationData=a.$form.data("product_variations"),a.useAjax=!1===a.variationData,a.$form.trigger("check_variations")},t.prototype.onHide=function(t){t.preventDefault(),t.data.variationForm.$form.find(".single_add_to_cart_button").removeClass("wc-variation-is-unavailable").addClass("disabled wc-variation-selection-needed"),t.data.variationForm.$form.find(".woocommerce-variation-add-to-cart").removeClass("woocommerce-variation-add-to-cart-enabled").addClass("woocommerce-variation-add-to-cart-disabled")},t.prototype.onShow=function(t,a,i){t.preventDefault(),i?(t.data.variationForm.$form.find(".single_add_to_cart_button").removeClass("disabled wc-variation-selection-needed wc-variation-is-unavailable"),t.data.variationForm.$form.find(".woocommerce-variation-add-to-cart").removeClass("woocommerce-variation-add-to-cart-disabled").addClass("woocommerce-variation-add-to-cart-enabled")):(t.data.variationForm.$form.find(".single_add_to_cart_button").removeClass("wc-variation-selection-needed").addClass("disabled wc-variation-is-unavailable"),t.data.variationForm.$form.find(".woocommerce-variation-add-to-cart").removeClass("woocommerce-variation-add-to-cart-enabled").addClass("woocommerce-variation-add-to-cart-disabled")),wp.mediaelement&&t.data.variationForm.$form.find(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!C(this).parent().hasClass("mejs-mediaelement")}).mediaelementplayer(wp.mediaelement.settings)},t.prototype.onAddToCart=function(t){C(this).is(".disabled")&&(t.preventDefault(),C(this).is(".wc-variation-is-unavailable")?d.alert(wc_add_to_cart_variation_params.i18n_unavailable_text):C(this).is(".wc-variation-selection-needed")&&d.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))},t.prototype.onResetDisplayedVariation=function(t){var a=t.data.variationForm;a.$product.find(".product_meta").find(".sku").wc_reset_content(),a.$product.find(".product_weight, .woocommerce-product-attributes-item--weight .woocommerce-product-attributes-item__value").wc_reset_content(),a.$product.find(".product_dimensions, .woocommerce-product-attributes-item--dimensions .woocommerce-product-attributes-item__value").wc_reset_content(),a.$form.trigger("reset_image"),a.$singleVariation.slideUp(200).trigger("hide_variation")},t.prototype.onResetImage=function(t){t.data.variationForm.$form.wc_variations_image_update(!1)},t.prototype.onFindVariation=function(t,a){var i,e=t.data.variationForm,r=void 0!==a?a:e.getChosenAttributes(),o=r.data;r.count&&r.count===r.chosenCount?e.useAjax?(e.xhr&&e.xhr.abort(),e.$form.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),o.product_id=parseInt(e.$form.data("product_id"),10),o.custom_data=e.$form.data("custom_data"),e.xhr=C.ajax({url:wc_add_to_cart_variation_params.wc_ajax_url.toString().replace("%%endpoint%%","get_variation"),type:"POST",data:o,success:function(t){t?e.$form.trigger("found_variation",[t]):(e.$form.trigger("reset_data"),r.chosenCount=0,e.loading||(e.$form.find(".single_variation").after('

'+wc_add_to_cart_variation_params.i18n_no_matching_variations_text+"

"),e.$form.find(".wc-no-matching-variations").slideDown(200)))},complete:function(){e.$form.unblock()}})):(e.$form.trigger("update_variation_values"),(i=e.findMatchingVariations(e.variationData,o).shift())?e.$form.trigger("found_variation",[i]):(e.$form.trigger("reset_data"),r.chosenCount=0,e.loading||(e.$form.find(".single_variation").after('

'+wc_add_to_cart_variation_params.i18n_no_matching_variations_text+"

"),e.$form.find(".wc-no-matching-variations").slideDown(200)))):(e.$form.trigger("update_variation_values"),e.$form.trigger("reset_data")),e.toggleResetLink(0parseFloat(a.max_qty)?a.max_qty:e)"),_=r.val()||"",d=!0;r.data("attribute_html")||((e=r.clone()).find("option").removeAttr("disabled attached").removeAttr("selected"),r.data("attribute_options",e.find("option"+s).get()),r.data("attribute_html",e.html())),c.html(r.data("attribute_html"));var m=C.extend(!0,{},F);m[o]="";var l,v=y.findMatchingVariations(y.variationData,m);for(l in v)if("undefined"!=typeof v[l]){var g,u=v[l].attributes;for(g in u)if(u.hasOwnProperty(g)){var f=u[g],h="";if(g===o)if(v[l].variation_is_active&&(h="enabled"),f){f=C("
").html(f).text();var p=c.find("option");if(p.length)for(var w=0,b=p.length;w a').on("mouseenter touchstart",function(){var b=a(this);if(!(!b.hasClass("wd-add-img-msg")&&a(window).width()<=1024||b.hasClass("wd-tooltip-inited"))){b.find(".wd-tooltip-label").remove(),b.addClass("wd-tltp").prepend(''+b.text()+"");var c=b.find(".wd-tooltip-label");if(b.hasClass("wd-tltp-top")){var d=c.outerWidth();c.css({marginLeft:-parseInt(d/2)})}b.addClass("wd-tooltip-inited")}}),woodmartThemeModule.windowWidth<=1024||a(".wd-tooltip, .wd-hover-icons .wd-buttons .wd-action-btn:not(.wd-add-btn) > a, .wd-hover-icons .wd-buttons .wd-add-btn, body:not(.catalog-mode-on):not(.login-see-prices) .wd-hover-base .wd-bottom-actions .wd-action-btn.wd-style-icon:not(.wd-add-btn) > a, body:not(.catalog-mode-on):not(.login-see-prices) .wd-hover-base .wd-bottom-actions .wd-action-btn.wd-style-icon.wd-add-btn, .wd-hover-base .wd-compare-btn > a, .wd-products-nav .wd-back-btn").on("mouseenter touchstart",function(){var b=a(this);b.hasClass("wd-tooltip-inited")||(b.tooltip({animation:!1,container:"body",trigger:"hover",boundary:"window",title:function(){var b=a(this);return b.find(".added_to_cart").length>0?b.find(".add_to_cart_button").text():b.text()}}),b.tooltip("show"),b.addClass("wd-tooltip-inited"))})},a(document).ready(function(){woodmartThemeModule.btnsToolTips()})}(jQuery); !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],b):b(a.bootstrap={},a.jQuery)}(this,function(a,b){"use strict";function c(a,b){for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:"top",c="top"===b?"scrollTop":"scrollLeft",d=a.nodeName;if("BODY"===d||"HTML"===d){var e=a.ownerDocument.documentElement;return(a.ownerDocument.scrollingElement||e)[c]}return a[c]}function q(a,b){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],d=p(b,"top"),e=p(b,"left"),f=c?-1:1;return a.top+=d*f,a.bottom+=d*f,a.left+=e*f,a.right+=e*f,a}function r(a,b){var c="x"===b?"Left":"Top",d="Left"===c?"Right":"Bottom";return parseFloat(a["border"+c+"Width"],10)+parseFloat(a["border"+d+"Width"],10)}function s(a,b,c,d){return Math.max(b["offset"+a],b["scroll"+a],c["client"+a],c["offset"+a],c["scroll"+a],sa()?c["offset"+a]+d["margin"+("Height"===a?"Top":"Left")]+d["margin"+("Height"===a?"Bottom":"Right")]:0)}function t(){var a=document.body,b=document.documentElement,c=sa()&&getComputedStyle(b);return{height:s("Height",a,b,c),width:s("Width",a,b,c)}}function u(a){return wa({},a,{right:a.left+a.width,bottom:a.top+a.height})}function v(a){var b={};if(sa())try{b=a.getBoundingClientRect();var c=p(a,"top"),d=p(a,"left");b.top+=c,b.left+=d,b.bottom+=c,b.right+=d}catch(m){}else b=a.getBoundingClientRect();var e={left:b.left,top:b.top,width:b.right-b.left,height:b.bottom-b.top},f="HTML"===a.nodeName?t():{},g=f.width||a.clientWidth||e.right-e.left,h=f.height||a.clientHeight||e.bottom-e.top,j=a.offsetWidth-g,k=a.offsetHeight-h;if(j||k){var l=i(a);j-=r(l,"x"),k-=r(l,"y"),e.width-=j,e.height-=k}return u(e)}function w(a,b){var c=sa(),d="HTML"===b.nodeName,e=v(a),f=v(b),g=k(a),h=i(b),j=parseFloat(h.borderTopWidth,10),l=parseFloat(h.borderLeftWidth,10),m=u({top:e.top-f.top-j,left:e.left-f.left-l,width:e.width,height:e.height});if(m.marginTop=0,m.marginLeft=0,!c&&d){var n=parseFloat(h.marginTop,10),o=parseFloat(h.marginLeft,10);m.top-=j-n,m.bottom-=j-n,m.left-=l-o,m.right-=l-o,m.marginTop=n,m.marginLeft=o}return(c?b.contains(g):b===g&&"BODY"!==g.nodeName)&&(m=q(m,b)),m}function x(a){var b=a.ownerDocument.documentElement,c=w(a,b),d=Math.max(b.clientWidth,window.innerWidth||0),e=Math.max(b.clientHeight,window.innerHeight||0),f=p(b),g=p(b,"left");return u({top:f-c.top+c.marginTop,left:g-c.left+c.marginLeft,width:d,height:e})}function y(a){var b=a.nodeName;return"BODY"!==b&&"HTML"!==b&&("fixed"===i(a,"position")||y(j(a)))}function z(a,b,c,d){var e={top:0,left:0},f=o(a,b);if("viewport"===d)e=x(f);else{var g=void 0;"scrollParent"===d?(g=k(j(b)),"BODY"===g.nodeName&&(g=a.ownerDocument.documentElement)):g="window"===d?a.ownerDocument.documentElement:d;var h=w(g,f);if("HTML"!==g.nodeName||y(f))e=h;else{var i=t(),l=i.height,m=i.width;e.top+=h.top-h.marginTop,e.bottom=l+h.top,e.left+=h.left-h.marginLeft,e.right=m+h.left}}return e.left+=c,e.top+=c,e.right-=c,e.bottom-=c,e}function A(a){return a.width*a.height}function B(a,b,c,d,e){var f=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===a.indexOf("auto"))return a;var g=z(c,d,f,e),h={top:{width:g.width,height:b.top-g.top},right:{width:g.right-b.right,height:g.height},bottom:{width:g.width,height:g.bottom-b.bottom},left:{width:b.left-g.left,height:g.height}},i=Object.keys(h).map(function(a){return wa({key:a},h[a],{area:A(h[a])})}).sort(function(a,b){return b.area-a.area}),j=i.filter(function(a){var b=a.width,d=a.height;return b>=c.clientWidth&&d>=c.clientHeight}),k=j.length>0?j[0].key:i[0].key,l=a.split("-")[1];return k+(l?"-"+l:"")}function C(a,b,c){return w(c,o(b,c))}function D(a){var b=getComputedStyle(a),c=parseFloat(b.marginTop)+parseFloat(b.marginBottom),d=parseFloat(b.marginLeft)+parseFloat(b.marginRight);return{width:a.offsetWidth+d,height:a.offsetHeight+c}}function E(a){var b={left:"right",right:"left",bottom:"top",top:"bottom"};return a.replace(/left|right|bottom|top/g,function(a){return b[a]})}function F(a,b,c){c=c.split("-")[0];var d=D(a),e={width:d.width,height:d.height},f=-1!==["right","left"].indexOf(c),g=f?"top":"left",h=f?"left":"top",i=f?"height":"width",j=f?"width":"height";return e[g]=b[g]+b[i]/2-d[i]/2,e[h]=c===h?b[h]-d[j]:b[E(h)],e}function G(a,b){return Array.prototype.find?a.find(b):a.filter(b)[0]}function H(a,b,c){if(Array.prototype.findIndex)return a.findIndex(function(a){return a[b]===c});var d=G(a,function(a){return a[b]===c});return a.indexOf(d)}function I(a,b,c){return(void 0===c?a:a.slice(0,H(a,"name",c))).forEach(function(a){a.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var c=a.function||a.fn;a.enabled&&h(c)&&(b.offsets.popper=u(b.offsets.popper),b.offsets.reference=u(b.offsets.reference),b=c(b,a))}),b}function J(){if(!this.state.isDestroyed){var a={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};a.offsets.reference=C(this.state,this.popper,this.reference),a.placement=B(this.options.placement,a.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),a.originalPlacement=a.placement,a.offsets.popper=F(this.popper,a.offsets.reference,a.placement),a.offsets.popper.position="absolute",a=I(this.modifiers,a),this.state.isCreated?this.options.onUpdate(a):(this.state.isCreated=!0,this.options.onCreate(a))}}function K(a,b){return a.some(function(a){var c=a.name;return a.enabled&&c===b})}function L(a){for(var b=[!1,"ms","Webkit","Moz","O"],c=a.charAt(0).toUpperCase()+a.slice(1),d=0;dg[o]&&(a.offsets.popper[m]+=h[m]+p-g[o]),a.offsets.popper=u(a.offsets.popper);var q=h[m]+h[k]/2-p/2,r=i(a.instance.popper),s=parseFloat(r["margin"+l],10),t=parseFloat(r["border"+l+"Width"],10),v=q-a.offsets.popper[m]-s-t;return v=Math.max(Math.min(g[k]-p,v),0),a.arrowElement=d,a.offsets.arrow=(c={},va(c,m,Math.round(v)),va(c,n,""),c),a}function _(a){return"end"===a?"start":"start"===a?"end":a}function aa(a){var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=ya.indexOf(a),d=ya.slice(c+1).concat(ya.slice(0,c));return b?d.reverse():d}function ba(a,b){if(K(a.instance.modifiers,"inner"))return a;if(a.flipped&&a.placement===a.originalPlacement)return a;var c=z(a.instance.popper,a.instance.reference,b.padding,b.boundariesElement),d=a.placement.split("-")[0],e=E(d),f=a.placement.split("-")[1]||"",g=[];switch(b.behavior){case za.FLIP:g=[d,e];break;case za.CLOCKWISE:g=aa(d);break;case za.COUNTERCLOCKWISE:g=aa(d,!0);break;default:g=b.behavior}return g.forEach(function(h,i){if(d!==h||g.length===i+1)return a;d=a.placement.split("-")[0],e=E(d);var j=a.offsets.popper,k=a.offsets.reference,l=Math.floor,m="left"===d&&l(j.right)>l(k.left)||"right"===d&&l(j.left)l(k.top)||"bottom"===d&&l(j.top)l(c.right),p=l(j.top)l(c.bottom),r="left"===d&&n||"right"===d&&o||"top"===d&&p||"bottom"===d&&q,s=-1!==["top","bottom"].indexOf(d),t=!!b.flipVariations&&(s&&"start"===f&&n||s&&"end"===f&&o||!s&&"start"===f&&p||!s&&"end"===f&&q);(m||r||t)&&(a.flipped=!0,(m||r)&&(d=g[i+1]),t&&(f=_(f)),a.placement=d+(f?"-"+f:""),a.offsets.popper=wa({},a.offsets.popper,F(a.instance.popper,a.offsets.reference,a.placement)),a=I(a.instance.modifiers,a,"flip"))}),a}function ca(a){var b=a.offsets,c=b.popper,d=b.reference,e=a.placement.split("-")[0],f=Math.floor,g=-1!==["top","bottom"].indexOf(e),h=g?"right":"bottom",i=g?"left":"top",j=g?"width":"height";return c[h]f(d[h])&&(a.offsets.popper[i]=f(d[h])),a}function da(a,b,c,d){var e=a.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+e[1],g=e[2];if(!f)return a;if(0===g.indexOf("%")){var h=void 0;switch(g){case"%p":h=c;break;case"%":case"%r":default:h=d}return u(h)[b]/100*f}if("vh"===g||"vw"===g){return("vh"===g?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f}return f}function ea(a,b,c,d){var e=[0,0],f=-1!==["right","left"].indexOf(d),g=a.split(/(\+|\-)/).map(function(a){return a.trim()}),h=g.indexOf(G(g,function(a){return-1!==a.search(/,|\s/)}));g[h]&&-1===g[h].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var i=/\s*,\s*|\s+/,j=-1!==h?[g.slice(0,h).concat([g[h].split(i)[0]]),[g[h].split(i)[1]].concat(g.slice(h+1))]:[g];return j=j.map(function(a,d){var e=(1===d?!f:f)?"height":"width",g=!1;return a.reduce(function(a,b){return""===a[a.length-1]&&-1!==["+","-"].indexOf(b)?(a[a.length-1]=b,g=!0,a):g?(a[a.length-1]+=b,g=!1,a):a.concat(b)},[]).map(function(a){return da(a,e,b,c)})}),j.forEach(function(a,b){a.forEach(function(c,d){T(c)&&(e[b]+=c*("-"===a[d-1]?-1:1))})}),e}function fa(a,b){var c=b.offset,d=a.placement,e=a.offsets,f=e.popper,g=e.reference,h=d.split("-")[0],i=void 0;return i=T(+c)?[+c,0]:ea(c,f,g,h),"left"===h?(f.top+=i[0],f.left-=i[1]):"right"===h?(f.top+=i[0],f.left+=i[1]):"top"===h?(f.left+=i[0],f.top-=i[1]):"bottom"===h&&(f.left+=i[0],f.top+=i[1]),a.popper=f,a}function ga(a,b){var c=b.boundariesElement||l(a.instance.popper);a.instance.reference===c&&(c=l(c));var d=z(a.instance.popper,a.instance.reference,b.padding,c);b.boundaries=d;var e=b.priority,f=a.offsets.popper,g={primary:function(a){var c=f[a];return f[a]d[a]&&!b.escapeWithReference&&(e=Math.min(f[c],d[a]-("right"===a?f.width:f.height))),va({},c,e)}};return e.forEach(function(a){var b=-1!==["left","top"].indexOf(a)?"primary":"secondary";f=wa({},f,g[b](a))}),a.offsets.popper=f,a}function ha(a){var b=a.placement,c=b.split("-")[0],d=b.split("-")[1];if(d){var e=a.offsets,f=e.reference,g=e.popper,h=-1!==["bottom","top"].indexOf(c),i=h?"left":"top",j=h?"width":"height",k={start:va({},i,f[i]),end:va({},i,f[i]+f[j]-g[j])};a.offsets.popper=wa({},g,k[d])}return a}function ia(a){if(!Z(a.instance.modifiers,"hide","preventOverflow"))return a;var b=a.offsets.reference,c=G(a.instance.modifiers,function(a){return"preventOverflow"===a.name}).boundaries;if(b.bottomc.right||b.top>c.bottom||b.right0?c:null}catch(d){return null}},reflow:function(a){return a.offsetHeight},triggerTransitionEnd:function(b){a(b).trigger(h.end)},supportsTransitionEnd:function(){return Boolean(h)},isElement:function(a){return(a[0]||a).nodeType},typeCheckConfig:function(a,c,d){for(var e in d)if(Object.prototype.hasOwnProperty.call(d,e)){var f=d[e],g=c[e],h=g&&j.isElement(g)?"element":b(g);if(!new RegExp(f).test(h))throw new Error(a.toUpperCase()+': Option "'+e+'" provided type "'+h+'" but expected type "'+f+'".')}}};return f(),j}(b),la="undefined"!=typeof window&&"undefined"!=typeof document,ma=["Edge","Trident","Firefox"],na=0,oa=0;oa=0){na=1;break}var pa=la&&window.Promise,qa=pa?f:g,ra=void 0,sa=function(){return void 0===ra&&(ra=-1!==navigator.appVersion.indexOf("MSIE 10")),ra},ta=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},ua=function(){function a(a,b){for(var c=0;c2&&void 0!==arguments[2]?arguments[2]:{};ta(this,a),this.scheduleUpdate=function(){return requestAnimationFrame(d.update)},this.update=qa(this.update.bind(this)),this.options=wa({},a.Defaults,e),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=b&&b.jquery?b[0]:b,this.popper=c&&c.jquery?c[0]:c,this.options.modifiers={},Object.keys(wa({},a.Defaults.modifiers,e.modifiers)).forEach(function(b){d.options.modifiers[b]=wa({},a.Defaults.modifiers[b]||{},e.modifiers?e.modifiers[b]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return wa({name:a},d.options.modifiers[a])}).sort(function(a,b){return a.order-b.order}),this.modifiers.forEach(function(a){a.enabled&&h(a.onLoad)&&a.onLoad(d.reference,d.popper,d.options,a,d.state)}),this.update();var f=this.options.eventsEnabled;f&&this.enableEventListeners(),this.state.eventsEnabled=f}return ua(a,[{key:"update",value:function(){return J.call(this)}},{key:"destroy",value:function(){return M.call(this)}},{key:"enableEventListeners",value:function(){return Q.call(this)}},{key:"disableEventListeners",value:function(){return S.call(this)}}]),a}();Ca.Utils=("undefined"!=typeof window?window:global).PopperUtils,Ca.placements=xa,Ca.Defaults=Ba;var Da=function(a){var b="tooltip",c="4.0.0",f="bs.tooltip",g="."+f,h=a.fn[b],i=150,j="bs-tooltip",k=new RegExp("(^|\\s)"+j+"\\S+","g"),l={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},m={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},n={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},o={SHOW:"show",OUT:"out"},p={HIDE:"hide"+g,HIDDEN:"hidden"+g,SHOW:"show"+g,SHOWN:"shown"+g,INSERTED:"inserted"+g,CLICK:"click"+g,FOCUSIN:"focusin"+g,FOCUSOUT:"focusout"+g,MOUSEENTER:"mouseenter"+g,MOUSELEAVE:"mouseleave"+g},q={FADE:"fade",SHOW:"show"},r={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},s={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},t=function(){function h(a,b){if(void 0===Ca)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=a,this.config=this._getConfig(b),this.tip=null,this._setListeners()}var t=h.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(b){if(this._isEnabled)if(b){var c=this.constructor.DATA_KEY,d=a(b.currentTarget).data(c);d||(d=new this.constructor(b.currentTarget,this._getDelegateConfig()),a(b.currentTarget).data(c,d)),d._activeTrigger.click=!d._activeTrigger.click,d._isWithActiveTrigger()?d._enter(null,d):d._leave(null,d)}else{if(a(this.getTipElement()).hasClass(q.SHOW))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),a.removeData(this.element,this.constructor.DATA_KEY),a(this.element).off(this.constructor.EVENT_KEY),a(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&a(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var b=this;if("none"===a(this.element).css("display"))throw new Error("Please use show on visible elements");var c=a.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){a(this.element).trigger(c);var d=a.contains(this.element.ownerDocument.documentElement,this.element);if(c.isDefaultPrevented()||!d)return;var e=this.getTipElement(),f=ka.getUID(this.constructor.NAME);e.setAttribute("id",f),this.element.setAttribute("aria-describedby",f),this.setContent(),this.config.animation&&a(e).addClass(q.FADE);var g="function"==typeof this.config.placement?this.config.placement.call(this,e,this.element):this.config.placement,i=this._getAttachment(g);this.addAttachmentClass(i);var j=!1===this.config.container?document.body:a(this.config.container);a(e).data(this.constructor.DATA_KEY,this),a.contains(this.element.ownerDocument.documentElement,this.tip)||a(e).appendTo(j),a(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Ca(this.element,e,{placement:i,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:r.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(a){a.originalPlacement!==a.placement&&b._handlePopperPlacementChange(a)},onUpdate:function(a){b._handlePopperPlacementChange(a)}}),a(e).addClass(q.SHOW),"ontouchstart"in document.documentElement&&a("body").children().on("mouseover",null,a.noop);var k=function(){b.config.animation&&b._fixTransition();var c=b._hoverState;b._hoverState=null,a(b.element).trigger(b.constructor.Event.SHOWN),c===o.OUT&&b._leave(null,b)};ka.supportsTransitionEnd()&&a(this.tip).hasClass(q.FADE)?a(this.tip).one(ka.TRANSITION_END,k).emulateTransitionEnd(h._TRANSITION_DURATION):k()}},t.hide=function(b){var c=this,d=this.getTipElement(),e=a.Event(this.constructor.Event.HIDE),f=function(){c._hoverState!==o.SHOW&&d.parentNode&&d.parentNode.removeChild(d),c._cleanTipClass(),c.element.removeAttribute("aria-describedby"),a(c.element).trigger(c.constructor.Event.HIDDEN),null!==c._popper&&c._popper.destroy(),b&&b()};a(this.element).trigger(e),e.isDefaultPrevented()||(a(d).removeClass(q.SHOW),"ontouchstart"in document.documentElement&&a("body").children().off("mouseover",null,a.noop),this._activeTrigger[s.CLICK]=!1,this._activeTrigger[s.FOCUS]=!1,this._activeTrigger[s.HOVER]=!1,ka.supportsTransitionEnd()&&a(this.tip).hasClass(q.FADE)?a(d).one(ka.TRANSITION_END,f).emulateTransitionEnd(i):f(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(b){a(this.getTipElement()).addClass(j+"-"+b)},t.getTipElement=function(){return this.tip=this.tip||a(this.config.template)[0],this.tip},t.setContent=function(){var b=a(this.getTipElement());this.setElementContent(b.find(r.TOOLTIP_INNER),this.getTitle()),b.removeClass(q.FADE+" "+q.SHOW)},t.setElementContent=function(b,c){var d=this.config.html;"object"==typeof c&&(c.nodeType||c.jquery)?d?a(c).parent().is(b)||b.empty().append(c):b.text(a(c).text()):b[d?"html":"text"](c)},t.getTitle=function(){var a=this.element.getAttribute("data-original-title");return a||(a="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),a},t._getAttachment=function(a){return m[a.toUpperCase()]},t._setListeners=function(){var b=this;this.config.trigger.split(" ").forEach(function(c){if("click"===c)a(b.element).on(b.constructor.Event.CLICK,b.config.selector,function(a){return b.toggle(a)});else if(c!==s.MANUAL){var d=c===s.HOVER?b.constructor.Event.MOUSEENTER:b.constructor.Event.FOCUSIN,e=c===s.HOVER?b.constructor.Event.MOUSELEAVE:b.constructor.Event.FOCUSOUT;a(b.element).on(d,b.config.selector,function(a){return b._enter(a)}).on(e,b.config.selector,function(a){return b._leave(a)})}a(b.element).closest(".modal").on("hide.bs.modal",function(){return b.hide()})}),this.config.selector?this.config=e({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var a=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==a)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(b,c){var d=this.constructor.DATA_KEY;return c=c||a(b.currentTarget).data(d),c||(c=new this.constructor(b.currentTarget,this._getDelegateConfig()),a(b.currentTarget).data(d,c)),b&&(c._activeTrigger["focusin"===b.type?s.FOCUS:s.HOVER]=!0),a(c.getTipElement()).hasClass(q.SHOW)||c._hoverState===o.SHOW?void(c._hoverState=o.SHOW):(clearTimeout(c._timeout),c._hoverState=o.SHOW,c.config.delay&&c.config.delay.show?void(c._timeout=setTimeout(function(){c._hoverState===o.SHOW&&c.show()},c.config.delay.show)):void c.show())},t._leave=function(b,c){var d=this.constructor.DATA_KEY;if(c=c||a(b.currentTarget).data(d),c||(c=new this.constructor(b.currentTarget,this._getDelegateConfig()),a(b.currentTarget).data(d,c)),b&&(c._activeTrigger["focusout"===b.type?s.FOCUS:s.HOVER]=!1),!c._isWithActiveTrigger()){if(clearTimeout(c._timeout),c._hoverState=o.OUT,!c.config.delay||!c.config.delay.hide)return void c.hide();c._timeout=setTimeout(function(){c._hoverState===o.OUT&&c.hide()},c.config.delay.hide)}},t._isWithActiveTrigger=function(){for(var a in this._activeTrigger)if(this._activeTrigger[a])return!0;return!1},t._getConfig=function(c){return c=e({},this.constructor.Default,a(this.element).data(),c),"number"==typeof c.delay&&(c.delay={show:c.delay,hide:c.delay}),"number"==typeof c.title&&(c.title=c.title.toString()),"number"==typeof c.content&&(c.content=c.content.toString()),ka.typeCheckConfig(b,c,this.constructor.DefaultType),c},t._getDelegateConfig=function(){var a={};if(this.config)for(var b in this.config)this.constructor.Default[b]!==this.config[b]&&(a[b]=this.config[b]);return a},t._cleanTipClass=function(){var b=a(this.getTipElement()),c=b.attr("class").match(k);null!==c&&c.length>0&&b.removeClass(c.join(""))},t._handlePopperPlacementChange=function(a){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(a.placement))},t._fixTransition=function(){var b=this.getTipElement(),c=this.config.animation;null===b.getAttribute("x-placement")&&(a(b).removeClass(q.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=c)},h._jQueryInterface=function(b){return this.each(function(){var c=a(this).data(f),d="object"==typeof b&&b;if((c||!/dispose|hide/.test(b))&&(c||(c=new h(this,d),a(this).data(f,c)),"string"==typeof b)){if(void 0===c[b])throw new TypeError('No method named "'+b+'"');c[b]()}})},d(h,null,[{key:"VERSION",get:function(){return c}},{key:"Default",get:function(){return n}},{key:"NAME",get:function(){return b}},{key:"DATA_KEY",get:function(){return f}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return g}},{key:"DefaultType",get:function(){return l}}]),h}();return a.fn[b]=t._jQueryInterface,a.fn[b].Constructor=t,a.fn[b].noConflict=function(){return a.fn[b]=h,t._jQueryInterface},t}(b);!function(a){if(void 0===a)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var b=a.fn.jquery.split(" ")[0].split("."),c=9;if(b[0]<2&&b[1]=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(b),a.Util=ka,a.Tooltip=Da,Object.defineProperty(a,"__esModule",{value:!0})}); !function(a){a.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default"],function(a,b){woodmartThemeModule.wdElementorAddAction(b,function(){woodmartThemeModule.quickViewInit()})}),woodmartThemeModule.quickViewInit=function(){woodmartThemeModule.$document.on("click",".open-quick-view",function(b){if(b.preventDefault(),a(".open-quick-view").hasClass("loading"))return!0;var c=a(this),d=c.data("id"),e=c.data("loop-name"),f=c.data("loop"),g="",h="",i=a(".quick-view").find('[data-loop-name="'+e+'"]');c.addClass("loading"),void 0!==i[f-1]&&(g=i.eq(f-1).addClass("quick-view-prev"),g=a("
").append(g.clone()).html()),void 0!==i[f+1]&&(h=i.eq(f+1).addClass("quick-view-next"),h=a("
").append(h.clone()).html()),woodmartThemeModule.quickViewLoad(d,c,g,h)})},woodmartThemeModule.quickViewCarousel=function(){if(void 0!==a.fn.owlCarousel){var b=a(".product-quick-view .woocommerce-product-gallery__wrapper");b.trigger("destroy.owl.carousel"),b.addClass("owl-carousel").owlCarousel({rtl:woodmartThemeModule.$body.hasClass("rtl"),items:1,dots:!1,nav:!0,navText:!1,navClass:["owl-prev wd-btn-arrow","owl-next wd-btn-arrow"]})}},woodmartThemeModule.quickViewLoad=function(b,c){var d={id:b,action:"woodmart_quick_view"},e=function(b){var c=a(b);a.magnificPopup.open({items:{src:c,type:"inline"},tClose:woodmart_settings.close,tLoading:woodmart_settings.loading,removalDelay:500,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-move-horizontal quick-view-wrapper"},open:function(){var b=a(".variations_form");b.each(function(){a(this).wc_variation_form().find(".variations select:eq(0)").change()}),b.trigger("wc_variation_form"),woodmartThemeModule.$body.trigger("woodmart-quick-view-displayed"),woodmartThemeModule.$document.trigger("wdQuickViewOpen"),setTimeout(function(){woodmartThemeModule.$document.trigger("wdQuickViewOpen300")},300),woodmartThemeModule.quickViewCarousel()}}})};a.ajax({url:woodmart_settings.ajaxurl,data:d,method:"get",success:function(b){woodmartThemeModule.removeDuplicatedStylesFromHTML(b,function(b){woodmart_settings.quickview_in_popup_fix?(a.magnificPopup.close(),setTimeout(function(){e(b)},500)):e(b)})},complete:function(){c.removeClass("loading")}})},a(document).ready(function(){woodmartThemeModule.quickViewInit(),woodmartThemeModule.quickViewCarousel()})}(jQuery); !function(a){woodmartThemeModule.$document.on("wdQuickShopSuccess wdQuickViewOpen wdUpdateWishlist",function(){woodmartThemeModule.swatchesVariations()}),woodmartThemeModule.swatchesVariations=function(){var b=a(".variations_form"),c=!1,d=!1;a(".variations_form .label").on("click",function(b){a(this).siblings(".value").hasClass("with-swatches")&&b.preventDefault()}),b.each(function(){var b=a(this);b.data("swatches")||(b.data("swatches",!0),b.data("product_variations")||b.find(".swatches-select").find("> div").addClass("swatch-enabled"),a(".swatches-select > div").hasClass("active-swatch")&&b.addClass("variation-swatch-selected"),b.on("click",".swatches-select > div",function(){var c=a(this),d=c.data("value"),f=c.parent().data("id"),g=c.data("title");e(b),c.hasClass("active-swatch")||c.hasClass("swatch-disabled")||(b.find("select#"+f).val(d).trigger("change"),c.parent().find(".active-swatch").removeClass("active-swatch"),c.addClass("active-swatch"),e(b),("yes"===woodmart_settings.swatches_labels_name&&woodmartThemeModule.$window.width()>=769||woodmartThemeModule.$window.width()<=768)&&c.parents("tr").find(".wd-attr-selected").html(g))}).on("woocommerce_update_variation_values",function(){e(b)}).on("click",".reset_variations",function(){b.find(".active-swatch").removeClass("active-swatch"),("yes"===woodmart_settings.swatches_labels_name&&woodmartThemeModule.$window.width()>=769||woodmartThemeModule.$window.width()<=768)&&b.find(".wd-attr-selected").html("")}).on("reset_data",function(){var d=a(this),g=!0,i=!1;b.find(".variations select").each(function(){0===(d.val()||"").length?g=!1:i=!0}),g&&d.parent().find(".active-swatch").removeClass("active-swatch"),b.removeClass("variation-swatch-selected");var j=a(".woocommerce-product-gallery__wrapper.owl-carousel");if(e(b),m("default",b),j.hasClass("owl-carousel")){"yes"===woodmart_settings.product_slider_auto_height?(!f()&&h("default",b)&&c&&j.trigger("destroy.owl.carousel"),a(".product-images").imagesLoaded(function(){j=j.owlCarousel(woodmartThemeModule.mainCarouselArg),j.trigger("refresh.owl.carousel")})):(j=j.owlCarousel(woodmartThemeModule.mainCarouselArg),j.trigger("refresh.owl.carousel"));var k="centered"===woodmart_settings.product_gallery.thumbs_slider.position?woodmart_settings.centered_gallery_start:0;f()&&(k=0),j.trigger("to.owl.carousel",k)}}).on("reset_image",function(){var c=a(".thumbnails .product-image-thumbnail img").first();f()||g(b)||c.wc_reset_variation_attr("src")}).on("show_variation",function(e,i){if(("yes"===woodmart_settings.swatches_labels_name&&woodmartThemeModule.$window.width()>=769||woodmartThemeModule.$window.width()<=768)&&!d&&(b.find(".active-swatch").each(function(){var b=a(this),c=b.data("title");b.parents("tr").find(".wd-attr-selected").html(c)}),d=!0),i.image.src){var j=b.parents(".single-product-content").find('.thumbnails .product-image-thumbnail img[data-o_src="'+i.image.thumb_src+'"]').length>0,l=b.parents(".single-product-content").find(".thumbnails .product-image-thumbnail img").first(),n=b.parents(".single-product-content").find(".woocommerce-product-gallery .woocommerce-product-gallery__image > a").first().data("o_href");j&&l.wc_reset_variation_attr("src"),g(b)||m(i.variation_id,b)||(l.attr("src")!==i.image.thumb_src&&l.wc_set_variation_attr("src",i.image.src),woodmartThemeModule.$document.trigger("wdShowVariationNotQuickView")),b.addClass("variation-swatch-selected"),g(b)||f()||n===i.image.full_src||k();var o=a(".woocommerce-product-gallery__wrapper.owl-carousel");if(o.hasClass("owl-carousel")){"yes"===woodmart_settings.product_slider_auto_height?(!f()&&h(i.variation_id,b)&&c&&o.trigger("destroy.owl.carousel"),a(".product-images").imagesLoaded(function(){o=o.owlCarousel(woodmartThemeModule.mainCarouselArg),o.trigger("refresh.owl.carousel")})):(o=o.owlCarousel(woodmartThemeModule.mainCarouselArg),o.trigger("refresh.owl.carousel"));var p=a(".images .thumbnails");o.trigger("to.owl.carousel",0),p.hasClass("owl-carousel")?(p.owlCarousel().trigger("to.owl.carousel",0),p.find(".active-thumb").removeClass("active-thumb"),p.find(".product-image-thumbnail").eq(0).addClass("active-thumb")):p.hasClass("slick-slider")&&(p.slick("slickGoTo",0),p.find(".product-image-thumbnail").eq(0).hasClass("active-thumb")||(p.find(".active-thumb").removeClass("active-thumb"),p.find(".product-image-thumbnail").eq(0).addClass("active-thumb")))}}}))});var e=function(b){b.data("product_variations")&&b.find(".variations select").each(function(){var b=a(this),c=b.parent().find(".swatches-select"),d=b.html();d=a(d),c.find("> div").removeClass("swatch-enabled").addClass("swatch-disabled"),d.each(function(){var b=a(this).val();a(this).hasClass("enabled")?c.find('div[data-value="'+b+'"]').removeClass("swatch-disabled").addClass("swatch-enabled"):c.find('div[data-value="'+b+'"]').addClass("swatch-disabled").removeClass("swatch-enabled")})})},f=function(){return a(".single-product-content").hasClass("product-quick-view")},g=function(a){return a.parent().hasClass("quick-shop-form")},h=function(a,b){return"old"===woodmart_settings.variation_gallery_storage_method?i(a):j(a,b)},i=function(a){if("undefined"!=typeof woodmart_variation_gallery_data||"undefined"!=typeof woodmart_qv_variation_gallery_data){var b=f()?woodmart_qv_variation_gallery_data:woodmart_variation_gallery_data;return void 0!==b&&b&&b[a]}},j=function(a,b){var c=l(b);return void 0!==c&&c&&c[a]&&c[a].length>1},k=function(){if("yes"===woodmart_settings.swatches_scroll_top_desktop&&woodmartThemeModule.$window.width()>=1024||"yes"===woodmart_settings.swatches_scroll_top_mobile&&woodmartThemeModule.$window.width()<=1024){var b=a("html, body");b.stop(!0),woodmartThemeModule.$window.on("mousedown wheel DOMMouseScroll mousewheel keyup touchmove",function(){b.stop(!0)}),b.animate({scrollTop:a(".product-image-summary").offset().top-150},800),a(".wd-swatch").tooltip("hide")}},l=function(a){var b=a.data("product_variations"),c=[];return b?(b.forEach(function(a){c[a.variation_id]=a.additional_variation_images,c.default=a.additional_variation_images_default}),c):c},m=function(b,d){if("old"===woodmart_settings.variation_gallery_storage_method){if(!h(b,d)||g(d)||"default"===b&&!c)return!1;n(b,d)}else{if(!h(b,d)||g(d)||"default"===b&&!c)return!1;var e=l(d);o(e[b],d)}return woodmartThemeModule.quickViewCarousel(),a(".woocommerce-product-gallery__image").trigger("zoom.destroy"),woodmartThemeModule.$document.trigger("wdReplaceMainGallery"),f()||woodmartThemeModule.$document.trigger("wdReplaceMainGalleryNotQuickView"),c="default"!==b,woodmartThemeModule.$window.trigger("resize"),!0},n=function(a,b){var c=f()?woodmart_qv_variation_gallery_data:woodmart_variation_gallery_data,d=c[a],e=b.parents(".single-product-content").find(".woocommerce-product-gallery__wrapper");e.empty();for(var g=0;g';f()||(h+=''),h+=d[g].image,f()||(h+=""),h+="
",e.append(h)}},o=function(a,b){var c=b.parents(".single-product-content").find(".woocommerce-product-gallery__wrapper");c.empty();for(var d in a)if(a.hasOwnProperty(d)){var e='",c.append(e)}}},a(document).ready(function(){woodmartThemeModule.swatchesVariations()})}(jQuery); !function(a){woodmartThemeModule.scrollTop=function(){var b=a(".scrollToTop");woodmartThemeModule.$window.on("scroll",function(){a(this).scrollTop()>100?b.addClass("button-show"):b.removeClass("button-show")}),b.on("click",function(){return a("html, body").animate({scrollTop:0},800),!1})},a(document).ready(function(){woodmartThemeModule.scrollTop()})}(jQuery); !function(a){woodmartThemeModule.mobileNavigation=function(){function b(){e.addClass("wd-opened"),g.addClass("wd-close-side-opened")}function c(){e.removeClass("wd-opened"),g.removeClass("wd-close-side-opened"),a(".mobile-nav .searchform input[type=text]").blur()}var d=woodmartThemeModule.$body,e=a(".mobile-nav"),f=a(".mobile-nav .wd-nav-mobile .menu-item-has-children"),g=a(".wd-close-side");f.append(''),e.on("click",".wd-nav-opener",function(b){b.preventDefault();var c=a(this),d=c.parent();d.hasClass("opener-page")?(d.removeClass("opener-page").find("> ul").slideUp(200),d.removeClass("opener-page").find(".wd-dropdown-menu .container > ul, .wd-dropdown-menu > ul").slideUp(200),d.find("> .wd-nav-opener").removeClass("wd-active")):(d.addClass("opener-page").find("> ul").slideDown(200),d.addClass("opener-page").find(".wd-dropdown-menu .container > ul, .wd-dropdown-menu > ul").slideDown(200),d.find("> .wd-nav-opener").addClass("wd-active"))}),e.on("click",".wd-nav-mob-tab li",function(b){b.preventDefault();var c=a(this),d=c.data("menu");c.hasClass("wd-active")||(c.parent().find(".wd-active").removeClass("wd-active"),c.addClass("wd-active"),a(".wd-nav-mobile").removeClass("wd-active"),a(".mobile-"+d+"-menu").addClass("wd-active"))}),d.on("click",".wd-header-mobile-nav > a",function(a){a.preventDefault(),e.hasClass("wd-opened")?c():b()}),d.on("click touchstart",".wd-close-side",function(){c()}),d.on("click",".mobile-nav .login-side-opener",function(){c()})},a(document).ready(function(){woodmartThemeModule.mobileNavigation()})}(jQuery); !function(a){woodmartThemeModule.cartWidget=function(){var b=woodmartThemeModule.$body,c=a(".cart-widget-side"),d=a(".wd-close-side");b.on("click",".cart-widget-opener",function(a){h()||i()||a.preventDefault(),g()?e():setTimeout(function(){f()},10)}),b.on("click touchstart",".wd-close-side",function(){g()&&e()}),b.on("click",".close-side-widget",function(a){a.preventDefault(),g()&&e()}),woodmartThemeModule.$document.on("keyup",function(a){27===a.keyCode&&g()&&e()});var e=function(){c.removeClass("wd-opened"),d.removeClass("wd-close-side-opened")},f=function(){if(h()||i())return!1;c.addClass("wd-opened"),d.addClass("wd-close-side-opened")},g=function(){return c.hasClass("wd-opened")},h=function(){return woodmartThemeModule.$body.hasClass("woocommerce-cart")},i=function(){return woodmartThemeModule.$body.hasClass("woocommerce-checkout")}},a(document).ready(function(){woodmartThemeModule.cartWidget()})}(jQuery);